from selenium import webdriver

driver = webdriver.PhantomJS()
driver.get('http://www.baidu.com')
#data = driver.find_element(id,'cp')
#for pitem in data:
##data = driver.find_element_by_id("cp").text
##print(data)

driver.execute_script(js)
driver.quit()

